# -- coding: utf-8 -- 
# Name: dice_roller

import random

def randomNumgen(choice):
    if choice == 1:
        die = random.randint(1,6)
    elif choice == 2:
        die = random.randint(1,10)
    elif choice == 3:
        die = random.randint(1,100)
    elif choice == 4:
        die = random.randint(1,4)
    elif choice == 5:
        die = random.randint(1,8)
    elif choice == 6:
        die = random.randint(1,12)
    elif choice == 7:
        die = random.randint(1,20)
    else:
        return "shouldn`t be here invald choice"
    return die

import sys
print randomNumgen(int(sys.argv[1]))